package com.kzw.oa.service.info;

import java.util.Date;
import java.util.List;

import com.kzw.core.service.BaseService;
import com.kzw.core.web.paging.PagingBean;
import com.kzw.oa.model.info.ShortMessage;

public interface ShortMessageService extends BaseService<ShortMessage> {

	public List<ShortMessage> findAll(Long userId,PagingBean pb);
	public List<ShortMessage> findByUser(Long userId);
	public List searchShortMessage(Long userId,ShortMessage shortMessage, Date from, Date to, PagingBean pb,Short readFlag,String sort,String dir);
	
	public ShortMessage save (Long senderId,String receiveIds,String content,Short msgType);
}
